NavigationPanel = function(config) {

    Ext.applyIf(config, {
        minSize : 175,
        maxSize : 400,
        layout : 'accordion',
        layoutConfig: {
            titleCollapse: true,
            animate: true
        },
        items: [{
            xtype: 'navigationTaskTreePanel'
        }, {
            xtype: 'navigationProcessPanel'
        }, {
            xtype: 'navigationSearchPanel'
        }, {
            xtype: 'navigationAdministrationPanel'
        }]
    });

    NavigationPanel.superclass.constructor.apply(this, [ config ]);

//    this.subscribe('quickSearch', function(params) {
//        this.getLayout().setActiveItem(0);
//    }, this);
//    this.subscribe('showTaskPanel', function(params) {
//        this.getLayout().setActiveItem(0);
//    }, this);
};

Ext.extend(NavigationPanel, Ext.Panel, {

});

Ext.reg('navigationPanel', NavigationPanel);